allegro5/d_util.d(8,29): Error: `dstr.ptr` cannot be used in `@safe` code, use `&dstr[0]` instead allegro5/d_util.d(13,22): Error: pointer slicing not allowed in safe functions allegro5/system.d(35,30): Error: cannot take address of parameter `user_main` in `@safe` function `al_run_allegro` allegro5/system.d(36,24): Error: cannot take address of local `fake_arg` in `@safe` function `al_run_allegro` allegro5/system.d(51,27): Error: function `allegro5.system.al_install_system(int vers, extern (C) int function(extern (C) void function()) atexit_ptr)` is not callable using argument types `(const(int), extern (C) int function(extern (C) void function() func) nothrow @nogc @system)` allegro5/system.d(51,27): cannot pass argument `& atexit` of type `extern (C) int function(extern (C) void function() func) nothrow @nogc @system` to parameter `extern (C) int function(extern (C) void function()) atexit_ptr` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.